<div ng-switch="$ctrl.type">
  <div ng-switch-default>
    <span ng-bind="$ctrl.value"></span>
  </div>
  <div ng-switch-when="3">
    <i class="{{$ctrl.value}}"></i>
  </div>
  <div ng-switch-when="4">
    <p ng-bind-html="$ctrl.value"></p>
  </div>
  <div ng-switch-when="5">
    <div ng-bind-html="$ctrl.value"></div>
  </div>
  <div ng-switch-when="6">
    <p ng-bind-html="$ctrl.value"></p>
  </div>
  <div ng-switch-when="7">
    <input class="form-control" type="checkbox" ng-model="$ctrl.value" />
  </div>
  <div ng-switch-when="8">
    <p ng-bind-html="$ctrl.value"></p>
  </div>
  <div ng-switch-when="16">
    <preview-image img-height="25" img-src="$ctrl.value"></preview-image>
  </div>
</div>
